import { _decorator, Component, Node } from 'cc';
import { PoolManager } from '../framework/PoolManager';
const { ccclass, property } = _decorator;

@ccclass('ShowTime')
export class ShowTime extends Component {
    start() {

    }

    @property
    public showTime = 0

    onEnable() {
        this.scheduleOnce(() => {
            this.node.active = false
        }, this.showTime)
    }

    update(deltaTime: number) {
        
    }
}

